<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>练习-10、</title>
</head>
<body>
  <script>
    var count = 0;
    outer:
    for (var i = 1; i <= 100; i++) {
      inner:
      for (var j = 2; j < i; j++) {
          if(i % j == 0){
            continue outer;
          }
      }
      count++;
      console.log(i)
    }
    console.log(count);
  </script>
</body>
</html>